package com.tql.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tql.mall.model.product.SkuSaleAttrValue;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author: tyk
 * @Date: 2023/5/22 15:07
 * @Description:
 */
@Mapper
public interface SkuSaleAttrValueMapper extends BaseMapper<SkuSaleAttrValue> {

    /**
     * 根据spuId获取销售属性值ID与skuId的映射
     */
    List<Map> selectSkuValueIdsMap(Long spuId);

}
